<?php
// include_once '/var/www/html/new/com.inc.php';
// include_once '/var/www/html/new/d/class/abc/PFTCoreAPI.class.php';
// include_once '/var/www/html/new/d/common/area.inc.php';
// include_once '/var/www/html/new/d/class/Member.php';


// echo class_exists('PFTCoreAPI')===false;










// $memberID   = $_SESSION['sid'];
// $memberID   = 1214;
// $saccount   = '200566';
// $m          = new Member($s,$memberID);
// $salePros   = $m->salePros();
// echo count($salePros);
// file_put_contents('../abc/logs/ppp1.json', json_encode($salePros));

// $ac      = $GLOBALS['_ac'];
// $pw      = $GLOBALS['_pw'];


// $inside  = new SoapClient(null,array("location" => "http://localhost/open/openService/pft_insideMX.php","uri" => "www.16u.com?ac_16u=$ac|pw_16u=$pw|auth_16u=true"));



// $price = $inside->Dynamic_Price_And_Storage('100019', 14624, '2015-11-12', 1, 0, '',3385 );
// print_r($price);

// echo $ac,"<br/>",$pw;

// $inside  = new SoapClient(null,array("location" => "http://localhost/open/openService/iMX_TEST.php","uri" => "www.16u.com?ac_16u=$ac|pw_16u=$pw|auth_16u=true"));



// $today = date('Y-m-d');
// foreach($salePros as $key=>$row){
	// $pStorage = PFTCoreAPI::pStorage($inside, $saccount, $row['pid'], $row['sapply_did'], $today);
	// print_r($pStorage);
// }
